pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerHans van Kranenburg <hans.van.kranenburg@mendix.com>
Tue, 18 Jun 2019 07:50:22 +0000 (09:50 +0200)
commit4fa701b59ddaa960c80440ae4b8009a5e9fb995a
tree989e7a6930e8c04e0ff0e52ee566c942015f3687
parent882029074a640f7326fb1b9d55e3153271b7cdc5
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py